<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ page import="java.util.HashMap" %>
<%@ page import="java.util.Map" %>
<%@ page import="com.dts.entity.Emp" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>JSTL</title>
</head>

<body>
<c:forTokens var="str" items="软、通、动、力、欢、迎、您" delims="、">
    ${str}
</c:forTokens>
<hr>
<c:forTokens items="1*2*3*4*5*6*7" delims="*" begin="1" end="6" step="2" var="num" varStatus="status">
    <c:out value="${num}" />&nbsp;的四种属性：
    index = ${status.index}、count = ${status.count}、first = ${status.first}、last = ${status.last}
    <br>
</c:forTokens>
<hr>
<%
    String operate = "增加,删除,修改,查询";
    pageContext.setAttribute("operate", operate);
%>
<c:forTokens var="str" items="${operate }" delims="," varStatus="status">
    <input type="checkbox" name="operate" value="${status.index}"> ${str}
</c:forTokens>
</body>

</html>